from django.contrib import admin
from . models import Comment
from django.contrib.admin.templatetags.admin_modify import *
from django.contrib.admin.templatetags.admin_modify import submit_row as original_submit_row
# Register your models here.


class CommentAdmin(admin.ModelAdmin):
    list_display = ('id', 'user', 'text',)
    ordering = ('-id',)


admin.site.register(Comment, CommentAdmin)